All Questions
1 question
5votes
1answer
303views
Is there a *BSD equivalent of MacOS renameatx_np, atomic swap file renaming?
I am looking to create a *BSD compatible C function like the one below: int fs_ext__swap (const char *from, const char *to) { int res = renameatx_np(AT_FDCWD, from, AT_FDCWD, to, RENAME_SWAP); ...